import axios from '@/utils/request';

export function getLoadButtonIsShow(params) {
    return axios.post({
        url: '/config-level/loadButtonIsShow',
        data: params
    }).then((res) => {
        return res
    })
}

export function getConfigLevelListAll(params) {
    return axios.post({
        url: '/config-level/listAll',
        data: params
    }).then((res) => {
        return res
    })
}
export function getConfigLevelList(params) {
    return axios.post({
        url: '/config-level/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editConfigLevel(params) {
    return axios.post({
        url: '/config-level/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteConfigLevel(params) {
    return axios.post({
        url: '/config-level/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadConfigLevel(params) {
    return axios.post({
        url: '/config-level/load',
        data: params
    }).then((res) => {
        return res
    })
}

